package day1;

/**
 * @author oldliu
 * @since 1.0
 */
public class Dog {
    private String name="Dahuang";

    @Override
    protected void finalize() throws Throwable {
        super.finalize();
        System.out.println("大黄被回收了");
    }
}
